package com.hj.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author hj
 * @since 2021-12-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("permission")
public class Permission implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "perm_id", type = IdType.NONE)
    private Long permId;

    /**
     * 模块名称
     */
    private String permName;

    /**
     * 模块URL
     */
    private String permUrl;

    /**
     * 功能类别
     */
    private String permType;

    /**
     * 排序号
     */
    private Integer permSort;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 权限父id
     */
    private Long permPid;

    /**
     * 权限描述
     */
    private String permDesc;

    /**
     * 权限范围
     */
    private String permScope;

    /**
     * 权限领域
     */
    private String permField;


}
